let wait=new Vue({
    el:'#container',
    data:{
        user:JSON.parse(sessionStorage.getItem("user")),
        orderInfo:JSON.parse(sessionStorage.getItem("orderInfo"))
    },
    methods:{
        buy:function(){
            localStorage.setItem("orderId",this.orderInfo.orderId);
            localStorage.setItem("price",this.orderInfo.price);

            location.href='home_cashier.html';
        },
        cls:function(){
            $(".hide-prompt").hide();
            location.href="home_myOrder.html";
        }
    }
});